package sch.guo.crmsys.service.cop.impl;

import org.springframework.beans.factory.annotation.Autowired;
import sch.guo.crmsys.dto.cop.OrderDetailDTO;
import sch.guo.crmsys.entity.cop.CopOrderDetail;
import sch.guo.crmsys.mapper.cop.CopOrderDetailMapper;
import sch.guo.crmsys.service.cop.CopOrderDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2019-12-31
 */
@Service
public class CopOrderDetailServiceImpl extends ServiceImpl<CopOrderDetailMapper, CopOrderDetail> implements CopOrderDetailService {

    @Autowired
    private CopOrderDetailMapper copOrderDetailMapper;

    public List<OrderDetailDTO> selectByOrderId(Long orderId){
        return copOrderDetailMapper.selectByOrderId(orderId);
    }

}
